package com.ccb.sc.order.controller.query;

import com.ccb.sc.common.bind.page.PageParams;
import com.ccb.sc.common.modules.order.enums.CommentStatus;
import com.ccb.sc.common.modules.order.enums.DeliverStatus;
import com.ccb.sc.common.modules.order.enums.OrderStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author ken
 * @version 1.0
 * @date 2020-09-21
 */
@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class AppOrderCommonQueryParam extends PageParams {

    @ApiModelProperty(value = "订单状态 不传查全部 1待发货 2已发货 3已完成 4取消")
    private OrderStatus status;

    @ApiModelProperty(value = "物流状态 0:待发货 1已发货 2已签收")
    private DeliverStatus deliverStatus;

    @ApiModelProperty(value = "评价状态 0待评价 1已评价")
    private CommentStatus commentStatus;
}
